package com.sinosoft.zyemr.dao;

import com.sinosoft.zyemr.entity.PrescriptionEntity;
import com.sinosoft.zyemr.entity.PrescriptionEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PrescriptionEntityMapper {
    int countByExample(PrescriptionEntityExample example);

    int deleteByExample(PrescriptionEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PrescriptionEntity record);

    int insertSelective(PrescriptionEntity record);

    List<PrescriptionEntity> selectByExample(PrescriptionEntityExample example);

    PrescriptionEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PrescriptionEntity record, @Param("example") PrescriptionEntityExample example);

    int updateByExample(@Param("record") PrescriptionEntity record, @Param("example") PrescriptionEntityExample example);

    int updateByPrimaryKeySelective(PrescriptionEntity record);

    int updateByPrimaryKey(PrescriptionEntity record);
}